﻿using System;
using System.Collections.Generic;

namespace Pay.DTO {
	/// <summary>
	/// 站点配置
	/// </summary>
	[Serializable]
	public class site_setting {
		public site_setting() { }
		/// <summary>
		/// 站点名称
		/// </summary>
		public string site_name { get; set; }
		/// <summary>
		/// 站点Logo
		/// </summary>
		public string logo { get; set; }
		/// <summary>
		/// icp
		/// </summary>
		public string icp { get; set; }
		private string _api_url = string.Empty;
		/// <summary>
		/// 接口URL
		/// </summary>
		public string api_url {
			get {
				if (!string.IsNullOrEmpty(_api_url)) return _api_url.TrimEnd('/');
				return string.Empty;
			}
			set { _api_url = value; }
		}
		/// <summary>
		/// 图片URL
		/// </summary>
		public string img_url { get; set; }
        /// <summary>
        /// 净重加一定数量等于毛重
        /// </summary>
        public double grossweight { get; set; }
        public double price { get; set; }

    }
}
